//
//  NYContactHeadReusableView.m
//  NiuWaJiaoYu
//
//  Created by MinLison on 2018/1/6.
//  Copyright © 2018年 niuwaketang. All rights reserved.
//

#import "NYContactHeadReusableView.h"

@interface NYContactHeadReusableView ()

@property (nonatomic, strong) UILabel *titleLabel;
@end

@implementation NYContactHeadReusableView

- (void)setupView {
    [super setupView];

    [self addSubview:self.titleLabel];

    [self.titleLabel mas_remakeConstraints:^(MASConstraintMaker *make) {
        
        make.left.right.bottom.equalTo(self);
        make.height.mas_equalTo(17);
    }];
}

- (UILabel *)titleLabel {
    if (!_titleLabel) {
        _titleLabel = [[UILabel alloc] initWithFrame:CGRectZero];
        _titleLabel.font = UIFontBoldMake(15);
        _titleLabel.textAlignment = NSTextAlignmentCenter;
        _titleLabel.text = @"联系客服 制定你的学习计划";
        _titleLabel.textColor = UIColorMakeWithHex(@"#5396F7");
    }
    return _titleLabel;
}
@end
